package system.dao;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.dao.DataAccessException;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
import org.springframework.stereotype.Repository;

import system.common.Arguments;
import system.model.DB5_NetKeyDto;

import com.ibatis.sqlmap.client.SqlMapClient;

@Repository
public class DB52_NetKeyDao extends SqlMapClientDaoSupport {
	@Resource(name = "sqlMapClient52")
	protected void initDao(SqlMapClient sqlMapClient) {
		this.setSqlMapClient(sqlMapClient);
	}

	/**
	 * NETKEY_02 - list
	 * 
	 * @param arguments
	 * @return
	 * @throws DataAccessException
	 */
	@SuppressWarnings("unchecked")
	public List<DB5_NetKeyDto> net_key_02_list(Arguments arguments) throws DataAccessException {
		return getSqlMapClientTemplate().queryForList("NET_KEY.net_key_02_list", arguments);
	}
}
